package com.lingyue.entity.module.def.mapper;

import com.lingyue.entity.module.def.entity.DealershipEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lizhiyuan
 * @since 2019-12-18
 */
public interface DealershipMapper extends BaseMapper<DealershipEntity> {

    /**
     * 根据分片返回dealerId列表
     * @param shards
     * @return
     */
    List<Long> findDealerIds(@Param("shards") String[] shards);

}
